home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / share / 04 / setup.exe / MM9.Cab / F1523_cart.asp.9B3B646D_CB56_4EAE_BAB7_3E7E8E41A649 < prev    next >
Text File  |  2000-08-17  |  5KB  |  136 lines

  1. <!-- #INCLUDE VIRTUAL="/golive/config/include/utils.runtime5.asp" -->
  2. <!-- #INCLUDE VIRTUAL="/golive/config/include/mscommerce.runtime5.asp" -->
  3. <!-- #INCLUDE VIRTUAL="/golive/config/actions/mscommerce.actions5.asp" -->
  4. <html>
  5.  
  6.     <head>
  7.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  8.         <meta name="generator" content="Adobe GoLive 5">
  9.         <title>Your Shopping Cart</title>
  10.         <% 'Dynamic Link
  11.           set orderForm = GetOrderForm("Adobe")
  12.         %>
  13. <script language="JavaScript">
  14. <!---
  15. function TestIfInteger( InputField )
  16. {
  17.     var num = Number( InputField.value );
  18.     if( isNaN( num )||( num != Math.floor( num ))){
  19.         alert( "This input field requires integer number." );
  20.         InputField.value = Math.floor( num );
  21.         InputField.focus()
  22.     }
  23. }
  24. //--->
  25. </script>
  26.         <meta name="site-config-URL" content="http://localhost/golive/config/">
  27.     </head>
  28.  
  29.     <body bgcolor="white">
  30.         <table border="0" cellpadding="0" cellspacing="0">
  31.             <tr>
  32.                 <td colspan="2"><img height="40" width="600" src="images/topbar.gif"></td>
  33.             </tr>
  34.             <tr>
  35.                 <td colspan="2"><img height="21" width="600" src="images/homebar.gif"></td>
  36.             </tr>
  37.             <tr height="100">
  38.                 <td height="100" colspan="2"><img height="60" width="410" src="images/cartbanner.gif"></td>
  39.             </tr>
  40.         </table>
  41.         <p>
  42.         <table border="0" cellpadding="0" cellspacing="0">
  43.             <tr>
  44.                 <td width="160"></td>
  45.                 <td><font color="#cc0000" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="4"><b>View Your Shopping Cart</b></font>
  46.                     <p>Welcome! Here are the current contents of your Adobe Shopping Cart. You can now continue browsing the Adobe Web site, change the quantity of any items in your cart, or follow through with your purchase by clicking <b>Checkout</b>.</td>
  47.             </tr>
  48.             <tr height="48">
  49.                 <td width="160" height="48"></td>
  50.                 <td height="48"></td>
  51.             </tr>
  52.         </table>
  53.         </p>
  54.         <form name="FormName" action='/golive/config/actions/mscommerce.actions5.asp?<%=URLArgs()%>' method="post">
  55.         <p>
  56.         
  57.         <table border="0" cellpadding="0" cellspacing="0" width="100%">
  58.             <tr>
  59.                 <td width="160"></td>
  60.                 <td>#</td>
  61.                 <td><b>Item</b></td>
  62.                 <td><b>Platform</b></td>
  63.                 <td><b>Unit Price</b></td>
  64.                 <td><b>Price</b></td>
  65.             </tr>
  66.             <% orderForm.items.MoveFirst %>
  67.             <% while not orderForm.items.EOF %>
  68.             <tr>
  69.                 <td width="160"></td>
  70.                 <td><input type="text" name="Quantity[<%=orderForm.items.AbsolutePosition%>]" value='<%=orderForm.items.Value("Quantity")%>' size="3" maxlength="8" onblur="TestIfInteger( this )"></td>
  71.                 <td><%=orderForm.items.Value("_product_name")%></td>
  72.                 <td>Windows</td>
  73.                 <td>$<%=orderForm.items.Value("_iadjust_currentprice")%></td>
  74.                 <td>$<%=orderForm.items.Value("_oadjust_adjustedprice")%></td>
  75.             </tr>
  76.             <% orderForm.items.MoveNext %>
  77.             <% wend %>
  78.         </table>
  79.         </p>
  80.         <p>
  81.         <table border="0" cellpadding="0" cellspacing="0" width="100%">
  82.             <tr>
  83.                 <td width="160"></td>
  84.                 <td><b>Total:</b> <span>$<%=orderForm.Value("_total_total")%></span></td>
  85.             </tr>
  86.         </table>
  87.         </p>
  88.         <p>
  89.         <table border="0" cellpadding="0" cellspacing="0" width="100%">
  90.             <tr height="32">
  91.                 <td width="160" height="32"></td>
  92.                 <td height="32"></td>
  93.             </tr>
  94.             <tr>
  95.                 <td width="160"></td>
  96.                 <td><a href="checkout.asp?<%=URLArgs()%>"><img src="images/checkout.gif" border="0"></a><a href="products.asp?<%=URLArgs()%>"><img src="images/shopmore.gif" border="0"></a><input src="images/update.gif" type="image" name="$UpdateTotals" border="0" <%=SetupUpdateTotals(orderForm.items, false)%>></td>
  97.             </tr>
  98.         </table>
  99.         </p>
  100.         <p>
  101.         </form>
  102.         <table border="0" cellpadding="0" cellspacing="0" width="100%">
  103.             <tr>
  104.                 <td colspan="2">
  105.                     <center>
  106.                         <h5>
  107.                         <hr>
  108.                         | <a href="home.asp?<%=URLArgs()%>">Home</a> | <a href="products.asp?<%=URLArgs()%>">Products</a> | News | Support | About Adobe |
  109.                         <hr>
  110.                         </h5>
  111.                     </center>
  112.                 </td>
  113.             </tr>
  114.             <tr height="48">
  115.                 <td height="48" colspan="2"></td>
  116.             </tr>
  117.             <tr>
  118.                 <td width="160"></td>
  119.                 <td><font size="2">Copyright © 1999-2000 Adobe Systems Incorporated.</font>
  120.                     <p><font size="2">All rights reserved.<br>
  121.                     Legal notices and trademark attributions.<br>
  122.                     Online Privacy Policy.</font></td>
  123.             </tr>
  124.         </table>
  125.     </body>
  126.  
  127. </html>
  128. <!-- Mock Content
  129.    orderForm.items:<TABLE> {}
  130.    orderForm.items:Quantity {}
  131.    orderForm.items:_product_name {Adobe GoLive}
  132.    orderForm.items:_iadjust_currentprice {123.00}
  133.    orderForm.items:_oadjust_adjustedprice {246.00}
  134.    orderForm:_total_total {246.00}
  135. -->
  136.